package com.qf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Ypl
 * @version V1.0
 * @Project September-mavens
 * @Package com.qf.entity
 * @Description:
 * @Date 2022/10/9 15:35
 */
@SuppressWarnings("all")
//构造所有的方法
@Data
//无参构造
@NoArgsConstructor
//全参构造
@AllArgsConstructor
//数据库表名
@TableName("tb_user")
public class User {
    @TableId(type = IdType.ID_WORKER)
    private Long id;

    private String userName;
    private String password;
    private String name;
    private Integer age;
    private String email;

}
